<?php /* Smarty version Smarty-3.1.6, created on 2013-04-07 10:39:00
         compiled from "../admin/Tpl/System/once.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17707649175160dc44379582-36172676%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '35e4670a4dc47a8baebf38417c06faf4762f7e39' => 
    array (
      0 => '../admin/Tpl/System/once.tpl',
      1 => 1364183791,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17707649175160dc44379582-36172676',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'rs' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5160dc444a876',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5160dc444a876')) {function content_5160dc444a876($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="title"> 该页面配置提交后不可修改，请确认无误后再提交。</div>
<form method="POST" action="<?php echo U('Admin/save');?>
">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >产品类别级别：</td>
	<td class="tLeft" ><select name="product_class_level" combobox>
            <option value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_class_level']==1){?>selected<?php }?>>一级类别</option>
            <option value="2" <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_class_level']==2){?>selected<?php }?>>二级类别</option>
            <option value="3" <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_class_level']==3){?>selected<?php }?>>三级类别</option>
            <option value="4" <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_class_level']==4){?>selected<?php }?>>四级类别</option>
          </select></td>
</tr>
<tr>
	<td class="tRight" >产品绑定颜色：</td>
	<td class="tLeft" ><input type="radio" name="product_color" value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_color']==1){?>checked<?php }?>>是<input type="radio" name="product_color" value="2" <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_color']==2){?>checked<?php }?>>否</td>
</tr>
<tr>
	<td class="tRight" >产品绑定尺码：</td>
	<td class="tLeft" ><input type="radio" name="product_size" value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_size']==1){?>checked<?php }?>>是<input type="radio" name="product_size" value="2" <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_size']==2){?>checked<?php }?>>否</td>
</tr>
<tr>
	<td class="tRight" >产品绑定厂家：</td>
	<td class="tLeft" ><input type="radio" name="product_factory" id="" value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_factory']==1){?>checked<?php }?>>是<input type="radio" name="product_factory" id="" value="2"  <?php if ($_smarty_tpl->tpl_vars['rs']->value['product_factory']==2){?>checked<?php }?>>否</td>
</tr>

<tr>
	<td class="tRight" >是否多仓库：</td>
	<td class="tLeft" ><input type="radio" name="multi_storage" value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['multi_storage']==1){?>checked<?php }?>>是<input type="radio" name="multi_storage" value="2" <?php if ($_smarty_tpl->tpl_vars['rs']->value['multi_storage']==2){?>checked<?php }?>>否</td>
</tr>

<tr>
	<td class="tRight" >库存规格：</td>
	<td class="tLeft" ><select name="storage_format" id="storage_format" combobox>
              <option value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['storage_format']==1){?>selected<?php }?>>按数量</option>
              <option value="2" <?php if ($_smarty_tpl->tpl_vars['rs']->value['storage_format']==2){?>selected<?php }?>>按箱*每箱数量</option>
              <option value="3" <?php if ($_smarty_tpl->tpl_vars['rs']->value['storage_format']==3){?>selected<?php }?>>按箱*每箱包数*每箱数量</option>
            </select><input type="checkbox" name="storage_color" id="" value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['storage_color']==1){?>checked<?php }?>>颜色  <input type="checkbox" name="storage_size" id="" value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['storage_size']==1){?>checked<?php }?>> 尺码  <input type="checkbox" name="storage_mantissa" id="" value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['storage_mantissa']==1){?>checked<?php }?>> 尾箱</td>
</tr>
<tr>
	<td class="tRight">箱数规格：</td>
	<td class="tLeft">
		<select name="quantity_format" combobox>
			<option value="1" <?php if (C('quantity_format')==1){?>selected<?php }?>>整数</option>
			<option value="2" <?php if (C('quantity_format')==2){?>selected<?php }?>>小数</option>
		</select>
	</td>
</tr>

<tr>
	<td class="tRight" >汇率设置：</td>
	<td class="tLeft" ><select name="set_rate_type" combobox ><option value="2" <?php if ($_smarty_tpl->tpl_vars['rs']->value['set_rate_type']==2){?>selected<?php }?>>按月</option><option value="3" <?php if ($_smarty_tpl->tpl_vars['rs']->value['set_rate_type']==3){?>selected<?php }?>>按单据日期</option></select>（无法获取设置汇率时取固定汇率同时记录汇率异常）</td>
</tr>
<tr>
	<td class="tRight" >本位币：</td>
	<td class="tLeft" >
	<?php ob_start();?><?php echo C('currency');?>
<?php $_tmp1=ob_get_clean();?><?php echo smarty_function_currency(array('data'=>'1,2,3,4,5','name'=>"currency",'value'=>$_tmp1,'empty'=>true,'combobox'=>1),$_smarty_tpl);?>
</td>
</tr>
<tr>
	<td class="tRight" >银行存款关联现金：</td>
	<td class="tLeft" ><input type="radio" name="bank_cash" value="1" <?php if ($_smarty_tpl->tpl_vars['rs']->value['bank_cash']==1){?>checked<?php }?>>是<input type="radio" name="bank_cash" value="2" <?php if ($_smarty_tpl->tpl_vars['rs']->value['bank_cash']==2){?>checked<?php }?>>否</td>
</tr>
<tr>
	<td class="tRight" >订货时区配置：</td>
    <td class="tLeft"><select name="orders_timezone" combobox >
    <option value="Asia/Shanghai" <?php if ($_smarty_tpl->tpl_vars['rs']->value['orders_timezone']=='Asia/Shanghai'){?>selected<?php }?>>中国/上海</option>
    <option value="America/New_York" <?php if ($_smarty_tpl->tpl_vars['rs']->value['orders_timezone']=='America/New_York'){?>selected<?php }?>>美国/纽约</option>
    <option value="Europe/Berlin" <?php if ($_smarty_tpl->tpl_vars['rs']->value['orders_timezone']=='Europe/Berlin'){?>selected<?php }?>>欧洲/柏林</option>
    <option value="Europe/Rome" <?php if ($_smarty_tpl->tpl_vars['rs']->value['orders_timezone']=='Europe/Rome'){?>selected<?php }?>>欧洲/罗马</option>
    </select></td>
</tr>
<tr>
	<td class="tRight" >销售时区配置：</td>
    <td class="tLeft"><select name="sale_timezone" combobox >
    <option value="Asia/Shanghai" <?php if ($_smarty_tpl->tpl_vars['rs']->value['sale_timezone']=='Asia/Shanghai'){?>selected<?php }?>>中国/上海</option>
    <option value="America/New_York" <?php if ($_smarty_tpl->tpl_vars['rs']->value['sale_timezone']=='America/New_York'){?>selected<?php }?>>美国/纽约</option>
    <option value="Europe/Berlin" <?php if ($_smarty_tpl->tpl_vars['rs']->value['sale_timezone']=='Europe/Berlin'){?>selected<?php }?>>欧洲/柏林</option>
    <option value="Europe/Rome" <?php if ($_smarty_tpl->tpl_vars['rs']->value['sale_timezone']=='Europe/Rome'){?>selected<?php }?>>欧洲/罗马</option>
    </select></td>
</tr>
 <tr>
	<td colspan="2">
	<input type="hidden" name="type" value="once">
	<div class="impBtn fLeft"><input type="submit" value="保存" class="save imgButton"></div>
	<div class="impBtn fRig"><input type="reset" class="reset imgButton" value="清空" ></div>
	</td>
</tr>



 <tr>
	<td colspan="2">
	<br><br>
	<a href="__APP__/System/updateFlowStorage">更新所有流程明细字段与库存一致</a>（同步颜色，尺码，尾箱，库存规格）
	<br><br>
	特别说明：<br>
一、库存规格用于更新库存的唯一标准，<br>
二、选择规格后不对流程的规格输入框做限制，<br>
三、各个流程还可以自由配置，未出现在规则中的数据则做为流程信息记录。
	</td>
</tr>
</table>
</form>
<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php }} ?>